Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1] Simplify postback handler signatures #372

Merged
merged 25 commits into from
Nov 22, 2023
Merged

Conversation

MrOrz
Copy link
Member

@MrOrz MrOrz commented Nov 12, 2023

refactor(context): typing postback action

  • Default as string
  • Enable different type of postback action
  • Simplify handlePostback() argument
  • Update all handlers called by handlePostback()

Copy link
Member Author

MrOrz commented Nov 12, 2023

@coveralls
Copy link

coveralls commented Nov 12, 2023

Pull Request Test Coverage Report for Build 6841960699

  • 55 of 57 (96.49%) changed or added relevant lines in 12 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.2%) to 89.786%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/webhook/index.ts 0 2 0.0%
Files with Coverage Reduction New Missed Lines %
src/webhook/index.ts 1 50.39%
Totals Coverage Status
Change from base Build 6564802716: -0.2%
Covered Lines: 980
Relevant Lines: 1053

💛 - Coveralls

@MrOrz MrOrz changed the title Simplify postback handler signatures [1] Simplify postback handler signatures Nov 12, 2023
@MrOrz MrOrz marked this pull request as ready for review November 12, 2023 17:54
This was referenced Nov 19, 2023
Copy link
Member Author

MrOrz commented Nov 22, 2023

Merge activity

  • Nov 22, 8:01 AM: @MrOrz started a stack merge that includes this pull request via Graphite.
  • Nov 22, 8:01 AM: @MrOrz merged this pull request with Graphite.

@MrOrz MrOrz merged commit 020ce97 into master Nov 22, 2023
3 of 5 checks passed
@MrOrz MrOrz deleted the revamp-postback-handlers branch November 22, 2023 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants